import request from "@/utils/index.js";

// 根据合同编号查询相关订单信息
export const getOrderByContractIdService = (contractId) => {
    return request.get(`/api/order/contract/${contractId}`);
}

// 根据销售人员id查询相关订单信息
export const getOrderByEmployeeIdService = (currentPage, pageSize, empId) => {
    return request.get(`/api/order/emp/${empId}`);
}